package com.itheima.reggie.service;

import com.itheima.reggie.commom.ResultInfo;
import com.itheima.reggie.domain.Employee;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author Sea
 * @date 2023/3/1 19:38
 */
@Service
public interface EmployeeService  {

    ResultInfo login(String username, String password);

    List<Employee> find(String name);

    void save(Employee employee);

    Employee findId(Long id);

    void update(Employee employee);
}
